package top.shen33.yang.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 字段
 * </p>
 *
 * @author oreilly
 * @since 2018-09-17
 */
public class SysFieldDetail extends Model<SysFieldDetail> {

private static final long serialVersionUID = 1L;


                @TableId(value = "sid", type = IdType.AUTO)
                
    private Integer sid;
    /**
     * 名称
     */

        
    @Excel(name = "名称",width = 20,orderNum = "0")
    private String sname;
    /**
     * 排序
     */

        
    @Excel(name = "排序",width = 20,orderNum = "0")
    private String sort;

        
    private Integer fieldId;


    public Integer getSid() {
            return sid;
    }

    public void setSid(Integer sid) {
            this.sid = sid;
    }

    public String getSname() {
            return sname;
    }

    public void setSname(String sname) {
            this.sname = sname;
    }

    public String getSort() {
            return sort;
    }

    public void setSort(String sort) {
            this.sort = sort;
    }

    public Integer getFieldId() {
            return fieldId;
    }

    public void setFieldId(Integer fieldId) {
            this.fieldId = fieldId;
    }

    @Override
    protected Serializable pkVal() {
            return this.sid;
    }

    @Override
    public String toString() {
        return "SysFieldDetail{" +
                ", sid=" + sid +
                ", sname=" + sname +
                ", sort=" + sort +
                ", fieldId=" + fieldId +
        "}";
    }
}
